package com.amxing.spider.utils;

import com.alibaba.fastjson.JSON;

/**
 * @auther amxing
 * @desc
 * @createTime 2018/10/22 23:39
 */
public class PubTools {

    public static <T> T toObj(String json, Class<T> c) {
        return JSON.parseObject(json, c);
    }

}
